package v1

import (
	"github.com/gogf/gf/v2/frame/g"
	"go_end/internal/model/bo"
)

type GetDataListReq struct {
	g.Meta `path:"/pb/dataList" tags:"获取比赛pb_list" method:"get" summary:"获取平博比赛"`
}
type GetDataListRes struct {
	List []*bo.GameResp `json:"list"`
}

type SetSessionDataReq struct {
	g.Meta    `path:"/pb/setSession" tags:"设置平博请求头参数" method:"post" summary:"设置平博请求头参数"`
	Cookie    string `json:"cookie"`
	Host      string `json:"host"`
	UserAgent string `json:"userAgent"`
	Referer   string `json:"referer"`
}
type SetSessionDataRes struct {
	Msg string `json:"msg"`
}

type GetSessionDataReq struct {
	g.Meta `path:"/pb/getSession" tags:"获取平博请求头参数" method:"get" summary:"获取平博请求头参数"`
}
type GetSessionDataRes struct {
	Header g.MapStrStr `json:"header"`
}

type GetPbUserReq struct {
	g.Meta `path:"/pb/getPbUser" tags:"获取平博用户信息" method:"get" summary:"获取平博用户信息"`
}
type GetPbUserRes struct {
	bo.UserInfo
}
